package com.zijin.exec;

import java.util.Scanner;

public class Text07 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入三角形行数");
        int rows = input.nextInt();
        for (int i = rows;i >= 1;i--){
            for(int j = 1;j <= i;j++){
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
